 begintalkscript;

 variables;

 begintalknode 1;
	state = -1;
	nextstate = 1;
	question = "Sick Slug";
	text1 = "The slug isn't even try to attack you. It's just sitting there and gazing at its sides. You can't help to wonder, if there is something you can do for this beast.";


 begintalknode 2;
	state = 1;
	nextstate = 2;
	condition = get_flag(12,1) == 0;
	question = "Try to cure the slug.";
	text1 = "You are no biologist. You cannot begin to comprehend how to cure the slug, or even what's wrong with it. Still there are many things you could try.";

 begintalknode 3;
	state = 2;
	nextstate = -1;
	condition = get_skill_total(17) > 0;
	question = "Use first aid to cure the slug.";
	text1 = "You try your best, but the only thing you manage do is to find out that the slug's condition is not caused by a wound.";

 begintalknode 4;
	state = 2;
	nextstate = 3;
	condition = get_skill_total(12) > 2;
	question = "Use your magic to cure the slug.";
	text1 = "You cast a curing spell on the slug. At first nothing happens, then the slug coughs out something disgusting. After a while the slugs eyes bounce back up straight, and it regains some of its normal texture.";
	text2 = "Then the slug drags itself towards a pile of mushrooms and chomps them up. As you begin to leave you notice the slug is following you.";

 begintalknode 5;
	state = 3;
	nextstate = -1;
	question = "Allow it.";
	text1 = "You let the slug join your party, it's not that weird of a pet. Besides you think you could always lead it back here if you think you wouldn't need it.";
	action = END_TALK;
	code = if (char_ok(6) == TRUE)
		add_char_to_party(6);
	else
		add_char_to_party(20);
		set_flag(12,1,2);
		award_party_xp(50,30);
 break;

 begintalknode 6;
	state = 3;
	nextstate = -1;
	question = "Try to get the slug to remain here.";
	text1 = "With considerable effort you manage to get the slug to remain here. It still doesn't act hostile. It begins to more around, though. At least it's feeling better.";
	action = END_TALK;
	code = set_flag(12,5,1);
		erase_char(6);
		activate_hidden_group(3);
		set_flag(12,1,1);
 break;

 begintalknode 7;
	state = 2;
	nextstate = 3;
	condition = has_item(221);
	question = "Get the slug to drink a curing potion.";
	text1 = "You pour the liquid into the slugs mouth. It's eyes immediately bounce back up and it let's out a sound that could be classified as a burp. You notice that the slug also regains some of its normal texture.";
	text2 = "Then the slug drags itself towards a pile of mushrooms and chomps them up. As you begin to leave you notice the slug is following you.";
	code = take_item(221);
 break;

 begintalknode 8;
	state = 1;
	nextstate = -1;
	condition = get_flag(12,5) != 1;
	question = "Put the slug out of its misery.";
	text1 = "You gather around the slug and draw your weapons. The slug still does nothing. You stab the slug in what you hope where its vital organs are. Before the slug dies it spreads an acidic cloud all over your party.";
	action = END_TALK;
	code = set_char_status(1000,12,100,1,0);
		kill_char(6,2,0);
		set_flag(12,6,1);
 break;



 begintalknode 11;
	state = -1;
	nextstate = 3;
	question = "Cured Slug";
	text1 = "The slug focuses its attention on you. It seems to remember you and wants to follow you.";
